package com.aluvfy.springdemo.service;

import com.aluvfy.springdemo.pojo.User;
import com.aluvfy.springdemo.pojo.UserDto;

public interface IUserService {
// 新增用户
    User add(UserDto user);
//查询拥护
    User getUser(Integer userId);
//修改接口
    User edit(UserDto user);
//删除接口
    void delete(Integer userId);
}
